package com.yy.bolg.service;



import com.yy.bolg.entity.CustomerBean;

import java.util.List;

/**
 * 客户Service接口类，定义基本的对数据库数据操作
 * @author enamoFu
 * @date 2024-11-02
 */
public interface CustomerService {

    void add(CustomerBean bean) throws Exception;

    void del(CustomerBean bean) throws Exception;

    void up(CustomerBean bean) throws Exception;

    CustomerBean findOneByCode(CustomerBean bean) throws Exception;

    CustomerBean findOneByHikUnitId(CustomerBean bean) throws Exception;

    CustomerBean findOneByPhone(CustomerBean bean) throws Exception;

    CustomerBean findOneByEmergencyPhone(CustomerBean bean) throws Exception;

    List<CustomerBean> findAllByCondition(CustomerBean bean) throws Exception;

    List<CustomerBean> findAll() throws Exception;

    String signIn(CustomerBean bean) throws Exception;

    void signOut(CustomerBean bean) throws Exception;

    void upState(CustomerBean bean) throws Exception;

    void bindHik(CustomerBean bean) throws Exception;

    void upCustomerUserInfo(CustomerBean bean) throws Exception;

    void upCustomerEmergencyUserInfo(CustomerBean bean) throws Exception;

    void upCustomerInfo(CustomerBean bean) throws Exception;

}
